using HMCollada.FX;

namespace HMCollada.FX {
    internal struct HMColladaParam {
        internal string name;
        internal string sid;
        internal string type;
        internal string semantic;
        internal string reference;
    }
}

namespace HMCollada {
    internal partial class HMColladaLoader {
        private static HMColladaParam LoadParam() {
            HMColladaParam newParam = new HMColladaParam();
            newParam.name = colladaReader.GetAttribute("name");
            newParam.sid = colladaReader.GetAttribute("sid");
            newParam.type = colladaReader.GetAttribute("type");
            newParam.semantic = colladaReader.GetAttribute("semantic");
            newParam.reference = colladaReader.GetAttribute("ref");
            
            if (colladaReader.IsEmptyElement) colladaReader.Read();
            return newParam;
        }
    }
}